package com.hxd.otc.module.convenience.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hxd.otc.R;
import com.hxd.otc.module.convenience.bean.ChooseHydropowerCityBean;

/**
 * 包  名 :  com.hxd.otc.module.convenience.adapter
 * 类  名 :  ChooseHydropowerCityAdapter
 * 作  者 :  zjl
 * 时  间 :  2018/12/14 14:51
 * 描  述 :  ${TODO}
 */
public class ChooseHydropowerCityAdapter extends BaseQuickAdapter<ChooseHydropowerCityBean, BaseViewHolder> {

    public ChooseHydropowerCityAdapter() {
        super(R.layout.adapter_choose_city, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ChooseHydropowerCityBean item) {
        helper.setText(R.id.tv_content, item.rechargeUnit);
    }
}
